AMApplicationBuild 444.38 AMApplicationVersion 2.9 AMDocumentVersion 2 actions action AMAccepts Container List Optional Types com.apple.cocoa.path AMActionVersion 1.1.2 AMApplication 访达 AMParameterProperties fileNames AMProvides Container List Types com.apple.cocoa.path ActionBundlePath /System/Library/Automator/Get Specified Finder Items.action ActionName 获得指定的访达项目 ActionParameters fileNames ~/Desktop/离散数学/ch2.7等价关系20181112的副本.ppt ~/Desktop/离散数学/ch2.8 序关系20181115.doc的副本.ppt BundleIdentifier com.apple.Automator.SpecifiedFiles CFBundleVersion 1.1.2 CanShowSelectedItemsWhenRun CanShowWhenRun Category AMCategoryFilesAndFolders Class Name SpecifiedFilesAction InputUUID 7CB57BDE-DE38-4F22-83B1-224B02E4CFF5 Keywords 文件 选取 查找 获得 OutputUUID 912C5864-853A-4D82-A874-F2E320BEEFA8 UUID ED49F17F-117A-4D20-8622-32B1C421B8F3 UnlocalizedApplications Finder arguments 0 default value name fileNames required 0 type 0 uuid 0 isViewVisible location 464.500000:239.000000 nibPath /System/Library/Automator/Get Specified Finder Items.action/Contents/Resources/Base.lproj/main.nib isViewVisible action AMAccepts Container List Optional Types com.apple.applescript.object AMActionVersion 1.0.2 AMApplication 自动操作 AMParameterProperties source AMProvides Container List Types com.apple.applescript.object ActionBundlePath /System/Library/Automator/Run AppleScript.action ActionName 运行 AppleScript ActionParameters source on run {input, parameters} set theOutput to {} tell application "Microsoft PowerPoint" -- work on version 15.15 or newer launch set theDial to start up dialog set start up dialog to false repeat with i in input open i set pdfPath to my makeNewPath(i) save active presentation in pdfPath as save as PDF -- save in same folder close active presentation saving no set end of theOutput to pdfPath as alias end repeat set start up dialog to theDial end tell return theOutput end run on makeNewPath(f) set t to f as string if t ends with ".pptx" then return (text 1 thru -5 of t) & "pdf" else return t & ".pdf" end if end makeNewPath BundleIdentifier com.apple.Automator.RunScript CFBundleVersion 1.0.2 CanShowSelectedItemsWhenRun CanShowWhenRun Category AMCategoryUtilities Class Name RunScriptAction InputUUID 020073D3-E301-407A-A30D-7973ED5B0B38 Keywords 运行 OutputUUID 3AA7BD2E-EE09-41B5-A816-D300AA33C2DE UUID E4EB015A-2112-45D5-8A50-212F601493E2 UnlocalizedApplications Automator arguments 0 default value on run {input, parameters} (* Your script goes here *) return input end run name source required 0 type 0 uuid 0 isViewVisible location 464.500000:484.000000 nibPath /System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib isViewVisible connectors 86F9EB50-B3BB-49DB-803B-6F99730CF0A4 from ED49F17F-117A-4D20-8622-32B1C421B8F3 - ED49F17F-117A-4D20-8622-32B1C421B8F3 to E4EB015A-2112-45D5-8A50-212F601493E2 - E4EB015A-2112-45D5-8A50-212F601493E2 workflowMetaData workflowTypeIdentifier com.apple.Automator.workflow